package com.kfm.ajax.mapper;

import com.kfm.ajax.model.RoleModel;

import java.util.List;

/**
* @author 10854
* @description 针对表【role】的数据库操作Mapper
* @createDate 2023-11-14 16:34:09
* @Entity com.kfm.ajax.model.RoleModel
*/
public interface RoleModelMapper {

    int deleteByPrimaryKey(Long id);

    int insert(RoleModel record);

    int insertSelective(RoleModel record);

    RoleModel selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(RoleModel record);

    int updateByPrimaryKey(RoleModel record);


    List<RoleModel> selectByUserId(String userId);

}
